Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcAverageAFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 1 - 255 items: value1, [value2], [value3], ...

Value1, value2, ... are 1 to 255 cells, ranges of cells, or values for which you want the average.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Calculates the average (arithmetic mean) of the values in the list of arguments.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcAverageAFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 1 - 255 items: value1, [value2], [value3], ...

    Value1, value2, ... are 1 to 255 cells, ranges of cells, or values for which you want the average.

    Return Value

    A System.Object value that indicates the evaluate result.
    See Also